<template>
  <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick" />
</template>

<script>
export default {
  name:'group_manage',
  data() {
    return {
      data: [
        {
          label: '组织用户',
          children: [
            {
              label: '组织管理',
              children: [
                {
                  label: 'Level three 1-1-1',
                },
              ],
            },
            {
              label: '用户管理',
              children: [
                {
                  label: 'Level three 2-1-1',
                },
              ],
            },
            {
              label: '职务管理',
              children: [
                {
                  label: 'Level three 2-1-1',
                },
              ],
            },
            {
              label: '岗位管理',
              children: [
                {
                  label: 'Level three 2-1-1',
                },
              ],
            },
          ],
        },
        {
          label: '菜单权限',
          children: [
            {
              label: '角色管理',
              children: [
                {
                  label: 'Level three 2-1-1',
                },
              ],
            },
            {
              label: '角色授权',
              children: [
                {
                  label: 'Level three 2-2-1',
                },
              ],
            },
            {
              label: '菜单管理',
              children: [
                {
                  label: 'Level three 2-2-1',
                },
              ],
            },
          ],
        },
        {
          label: '应用管理',
          children: [
            {
              label: '应用开发',
              children: [
                {
                  label: 'Level three 3-1-1',
                },
              ],
            },
            {
              label: '流程监控',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '流程分析',
              children: [
                {
                  label: 'Level three 2-2-1',
                },
              ],
            },
            {
              label: '应用模板',
              children: [
                {
                  label: 'Level three 2-2-1',
                },
              ],
            },
            {
              label: '应用市场',
              children: [
                {
                  label: 'Level three 2-2-1',
                },
              ],
            },
          ],
        },
        {
          label: '配置管理',
          children: [
            {
              label: '门户配置',
              children: [
                {
                  label: 'Level three 3-1-1',
                },
              ],
            },
            {
              label: '数据字典',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: 'SQL配置',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '多数据源',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '系统参数',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '分类字典',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '服务配置',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
          ],
        },
        {
          label: '系统监控',
          children: [
            {
              label: '日志管理',
              children: [
                {
                  label: 'Level three 3-1-1',
                },
              ],
            },
            {
              label: '性能监控',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: 'SQL监控',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
          ],
        },
         {
          label: '系统工具',
          children: [
            {
              label: '定时任务',
              children: [
                {
                  label: 'Level three 3-1-1',
                },
              ],
            },
            {
              label: '在线文档',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '代码生成工具',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
            {
              label: '大屏可视化',
              children: [
                {
                  label: 'Level three 3-2-1',
                },
              ],
            },
          ],
        },
      ],
      defaultProps: {
        children: 'children',
        label: 'label',
      },
    }
  },
  methods: {
    handleNodeClick(data) {
      console.log(data)
    },
  },
}
</script>
<style scoped>

</style>